<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('顾客详情')"/>
</head>

<body class="gray-bg">
<div class="container-div">
    <div class="row">
        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table"></table>
        </div>
    </div>
</div>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
    var prefix = ctx + "business/customer";
    var id = [[${id}]];
    $(function () {
        var options = {
            url: prefix + "/customerDetail?id=" + id,
            sortName: "id",
            sortOrder: "desc",
            modalName: "顾客详情",
            showSearch: false,
            showRefresh: false,
            showToggle: false,
            showColumns: false,
            clickToSelect: false,
            rememberSelected: false,
            pagination: false,
            columns: [{
                field: 'id',
                title: '顾客id',
                visible: false
            },
                {
                    field: 'info',
                    title: '顾客详情'
                },
                {
                    field: 'age',
                    title: '年龄'
                }
            ]
        };
        $.table.init(options);
    });


</script>
</body>
</html>
